package com.example.archive.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.archive.entity.ArchiveApprovalRequest;
import com.example.archive.util.Result;
import com.example.archive.util.PageParam;

import java.util.List;

public interface ArchiveApprovalRequestService {
    Result<Boolean> submitRequest(ArchiveApprovalRequest request);
    Result<IPage<ArchiveApprovalRequest>> listRequests(PageParam pageParam, String status, Integer requesterId, Integer approverId);
    Result<Boolean> approveRequest(Integer requestId, Integer approverId, String notes);
    Result<Boolean> rejectRequest(Integer requestId, Integer approverId, String notes);
    Result<ArchiveApprovalRequest> getRequestById(Integer requestId);
} 